﻿<%@ Page Language="C#" MasterPageFile="~/FrameMasterPage.master" AutoEventWireup="true" CodeFile="SoftwareAdd.aspx.cs" Inherits="SoftwareAdd" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="m_contentBody" Runat="Server">

<body>

   <table cellspacing="2" cellpadding ="2" style="height:100%" class="GridItem" >
        <br />
        <tr>
            <td><strong> Add New Software </strong> </td>  
        </tr>
       <tr>
       
         <td style="height: 28px"><asp:Label ID="Label8" runat="server" Text="Choice your groupe softwareId:  "></asp:Label></td>
         <td style="height: 28px">
             <asp:DropDownList ID="dlGroupeSoftware" runat="server"  Width="200px" 
                 AppendDataBoundItems="True" EnableTheming="False" 
                  
                 DataSourceID="odsGroupSoftware" DataTextField="GroupeSoftwareLabel" 
                 DataValueField="GroupeSoftwareId" Height="25px">
             <asp:ListItem Value="-1">--Choose Department--</asp:ListItem>
         </asp:DropDownList>
             <asp:ObjectDataSource ID="odsGroupSoftware" runat="server" 
                 SelectMethod="GetGroupSoftwares" TypeName="Service.ReferenceDataService">
             </asp:ObjectDataSource>
            
        
         </td>
         <tr>
            <td></td>
         <td>
          <asp:Label ID="lblRequiredGroupeSoftware" runat="server" ForeColor="Red" Visible="False" Text="value required"></asp:Label>
         </td>
         </tr>
      </tr>
      <tr>
         <td style="height: 28px"><asp:Label ID="Label1" runat="server" Text="Name of Software:  "></asp:Label></td>
         <td style="height: 28px">
         <asp:TextBox  ID="txtsoftware" runat="server"  Width="170px"  >
         </asp:TextBox>
         </td>
      </tr>
      <tr>
            <td></td>
         <td>
         
          <asp:Label ID="lblRequiredSoftware" runat="server" ForeColor="Red" Visible="False" Text="value required"></asp:Label>
         </td>
         </tr>
      <tr>
         <td style="height: 28px"><asp:Label ID="Label2" runat="server" Text="Description of Software:  "></asp:Label></td>
         <td style="height: 28px">
         <asp:TextBox  ID="txtdescription" runat="server"  Width="170px"  >
         </asp:TextBox>
          &nbsp;
          <asp:Label ID="lblRequiredDescription" runat="server" ForeColor="Red" Visible="False" Text="value required"></asp:Label>
         </td>
      </tr>
      
      <tr>
         <td style="height: 28px"><asp:Label ID="Label3" runat="server" Text="Version of Software:  "></asp:Label></td>
         <td style="height: 28px">
         <asp:TextBox  ID="txtversion" runat="server"  Width="170px"  >
         </asp:TextBox>
      
         </td>
      </tr>  
      
      <tr>
         <td style="height: 28px"><asp:Label ID="Label4" runat="server" Text="Number Lisence:  "></asp:Label></td>
         <td style="height: 28px">
         <asp:TextBox  ID="txtNbLisence" runat="server"  Width="170px"  >
         </asp:TextBox>
         </td>
      </tr>  
      <tr>
            <td></td>
         <td>
          <asp:Label ID="lblLisenceRequire" runat="server" ForeColor="Red" Visible="False" Text="value required integer"></asp:Label>
         </td>
         </tr>
      
      <tr>
          <td></td>
          <td style="text-align:right"> <asp:Button CssClass="btnexpress" 
                  BorderStyle="Dotted" ID="bntValidate" 
                     runat="server" Text="Validate" onclick="bntValidate_Click" />
           <asp:Button CssClass="btnexpress" BorderStyle="Dotted" ID="bntCancel" 
                     runat="server" Text="Cancel" onclick="bntCancel_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     </td>
      </tr>  
      <tr>
            <td></td>
         <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <asp:Label ID="lblMessageValidate" runat="server" ForeColor="Red"  Text=""></asp:Label>
         </td>
         </tr>
  </table>

</body>
</asp:Content>

